package com.sh.装饰器模式.two;

import com.sh.装饰器模式.two.impl.BorderDecorator;
import com.sh.装饰器模式.two.impl.Circle;

public class DecoratorPatternExample {
    public static void main(String[] args) {
        Shape circle = new Circle();
        Shape borderedCircle = new BorderDecorator(circle);

        borderedCircle.draw();
    }
}